// by Jan Eric Kyprianidis <www.kyprianidis.com>
#include "reductiontest.h"
#include "noise.h"
#include "filtertest.h"
#include "resize.h"
#include "resample.h"
#include "variance.h"
#include "tvl1flow.h"
#include "otsu.h"
#include "cairotest.h"
#include "laplace_eq_test.h"
#include "convpyr_test.h"
#include "ffttest.h"
#include "fftconv.h"

#if QT_VERSION >= 0x050000

    Q_IMPORT_PLUGIN(ReductionTest);
    Q_IMPORT_PLUGIN(FilterTest);
    Q_IMPORT_PLUGIN(NoiseTest);
    Q_IMPORT_PLUGIN(ResizeTest);
    Q_IMPORT_PLUGIN(ResampleTest);
    Q_IMPORT_PLUGIN(VarianceTest);
    Q_IMPORT_PLUGIN(TVL1Flow);
    Q_IMPORT_PLUGIN(OtsuTest);
    Q_IMPORT_PLUGIN(CairoTest);
    Q_IMPORT_PLUGIN(LaplaceEqTest);
    Q_IMPORT_PLUGIN(ConvPyrTest);
    Q_IMPORT_PLUGIN(FFTTest);
    Q_IMPORT_PLUGIN(FFTConvTest);

#else

    static const QMetaObject* module_spikes[] = {
        &ReductionTest::staticMetaObject,
        &FilterTest::staticMetaObject,
        &NoiseTest::staticMetaObject,
        &ResizeTest::staticMetaObject,
        &ResampleTest::staticMetaObject,
        &VarianceTest::staticMetaObject,
        &TVL1Flow::staticMetaObject,
        &OtsuTest::staticMetaObject,
        &CairoTest::staticMetaObject,
        &LaplaceEqTest::staticMetaObject,
        &ConvPyrTest::staticMetaObject,
        &FFTTest::staticMetaObject,
        &FFTConvTest::staticMetaObject,
        NULL
    };


    Q_EXPORT_PLUGIN2(module_spikes, ModulePlugin(module_spikes));
    Q_IMPORT_PLUGIN(module_spikes)

#endif
